﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippet Format="1.0.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <Header>
    <Title>ExecuteResultEx</Title>
    <Author>jinlei</Author>
    <Shortcut>ExecuteResultEx</Shortcut>
    <Description>ExecuteResultEx</Description>
    <SnippetTypes>
      <SnippetType>SurroundsWith</SnippetType>
      <SnippetType>Expansion</SnippetType>
    </SnippetTypes>
  </Header>
  <Snippet>
    <Declarations>
      <Literal>
        <ID>ExecuteResultEx</ID>
        <Default>ExecuteResultEx</Default>
      </Literal>
    </Declarations>
    <Code Language="XML">
      <![CDATA[ExecuteResultEx er = new ExecuteResultEx();
            try
            {
                
            }
            catch (Exception ex)
            {
                er.Ex = ex;
                er.Msg = er.Ex.Message;
                er.Success = false;
            }
            finally
            {
                er.EndTime = DateTime.Now;
            }
            return er;]]>
    </Code>
  </Snippet>
</CodeSnippet>